package TestCertPal;

import java.util.Scanner;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

enum PinSize { BIG, BIGGER, BIGGERER }; 
public class Dream {
	
	public static void main(String... args)
    {
        System.out.println(PinSize.BIG == PinSize.BIGGER); // #1
        System.out.println(PinSize.BIG.equals(PinSize.BIGGER));// #2
       // System.out.println(PinSize.BIG > PinSize.BIGGERER);// #3
        System.out.println(PinSize.BIG.toString().equals(PinSize.BIGGER));// #4
        PinSize b = PinSize.BIG ;
        System.out.println( b instanceof Comparable);// #5
        
        System.out.println(Boolean.valueOf("TRue")); // #1
        
       /* Pattern pattern = Pattern.compile("\\s+");
        Matcher matcher = pattern.matcher("123 a 34a ");
        while (matcher.find()){
            System.out.println(matcher.start() + " " );
        }*/
        
        
        
        Scanner scanner = new Scanner("banana.1943.x.split 1 ");
        Pattern pattern = scanner.delimiter();
        String something = scanner.next();
        Matcher matcher = pattern.matcher(something);
        while (scanner.hasNext()){
            while (matcher.find()){
                System.out.println(matcher.group());
            }
        }
        
    }  

}
